<?php
require_once(dirname(dirname(dirname(__FILE__))) . '/core.php');

$minfo = get_mobile_member_info();
?><!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>分销中心</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="full-screen" content="yes"/>
    <meta name="browsermode" content="application"/>
    <!-- QQ强制竖屏 QQ强制全屏 -->
    <meta name="x5-orientation" content="portrait"/>
    <meta name="x5-fullscreen" content="true"/>
    <meta name="x5-page-mode" content="app"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" type="text/css" href="../../css/reset.css">
    <link rel="stylesheet" type="text/css" href="../../css/main.css">
    <link rel="stylesheet" type="text/css" href="../../css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="../../css/member.css">
    <link rel="stylesheet" type="text/css" href="/wap/css/phone.css"/>
    <style>
        #bottom .nav{
            background: #444;
        }
        header, .header, .header-wrap{
            background:#f8f8f8;
        }
        #box .btn{
            width: 17%;
            background:#01adff;
        }
        #header{
            height: auto !important;
        }
    </style>

    <script type="text/javascript" src="../../js/config.js"></script>
    <script type="text/javascript" src="/data/resource/js/jquery.js"></script>

<!--    <script type="text/javascript" src="../../js/zepto.min.js"></script>-->
    <script type="text/javascript" src="../../js/template.js"></script>
    <script type="text/javascript" src="../../js/common.js"></script>
    <script type="text/javascript" src="/data/resource/layer/layer.js"></script>
</head>
<body>
    <header id="header"></header>

    <div class="touch"><?php
    if (dis_open()) {
        $distribute = new Distribute($minfo["member_id"]);
        include(DISTEMPLATE . "/index.php");
    }
    ?></div>

    <footer id="footer"></footer>
    <script type="text/javascript" src="../../js/tmpl/common-top.js"></script>
    <!-- <script>alert(2)</script> -->
    <script type="text/javascript" src="../../js/tmpl/footer.js"></script>

    <script type="text/javascript" src="../../js/tmpl/member.js"></script>

</body>
</html>